//
//  ActivityDetailsTableViewCell.m
//  豆瓣
//
//  Created by Roach on 16/6/25.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "ActivityDetailsTableViewCell.h"
#import "UIImageView+WebCache.h"

#define kWidth self.contentView.frame.size.width
#define kHight self.contentView.frame.size.height
@interface ActivityDetailsTableViewCell ()

@property (nonatomic, retain) UIScrollView *bottomScrollView;
@property (nonatomic, retain) UIImageView *backGroundImageView;
@property (nonatomic, retain) UILabel *titleLabel;
@property (nonatomic, retain) UIImageView *beginImageView;
@property (nonatomic, retain) UILabel *beginTimeLabel;
@property (nonatomic, retain) UILabel *endTimeLabel;
@property (nonatomic, retain) UIImageView *addressImageView;
@property (nonatomic, retain) UILabel *addressLabel;
@property (nonatomic, retain) UIImageView *categoryImageView;
@property (nonatomic, retain) UILabel *categoryLabel;
@property (nonatomic, retain) UILabel *categorytextLabel;
@property (nonatomic, retain) UILabel *wisherLabel;
@property (nonatomic, retain) UILabel *wisherNumberLabel;
@property (nonatomic, retain) UILabel *participantLabel;
@property (nonatomic, retain) UILabel *participantNumberLabel;
@property (nonatomic, retain) UIImageView *pictureImageView;
@property (nonatomic, retain) UIImageView *writeBackGround;

@end
@implementation ActivityDetailsTableViewCell

- (void)dealloc {
    
    [_backGroundImageView release];
    [_titleLabel release];
    [_beginImageView release];
    [_beginTimeLabel release];
    [_endTimeLabel release];
    [_addressImageView release];
    [_addressLabel release];
    [_categoryImageView release];
    [_categoryLabel release];
    [_wisherLabel release];
    [_wisherNumberLabel release];
    [_participantLabel release];
    [_participantNumberLabel release];
    [_pictureImageView release];
    [_cellModel release];
    [_writeBackGround release];
    [super dealloc];
    
}

- (instancetype) initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    
    if (self) {
        
        
        
    }
    
    return self;
}



- (void)layoutSubviews {
    
    [super layoutSubviews];
    
}

- (void)setCellModel:(ActivityModel *)cellModel{
    
    if (_cellModel != cellModel) {
        [_cellModel release];
        cellModel = [_cellModel retain];
    }
    
}

@end
